package com.ys.vo;

import com.github.pagehelper.PageInfo;

import java.io.Serializable;
import java.util.List;

public class PageVo {
    private List list;
    private long tatle;

    public PageVo(List list) {
        this.list = list;
        this.tatle = new PageInfo(list).getTotal();
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public long getTatle() {
        return tatle;
    }

    public void setTatle(long tatle) {
        this.tatle = tatle;
    }
}
